﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Integra.Master" AutoEventWireup="true" CodeBehind="ListadoAsignaturas.aspx.cs" Inherits="PresentacionWeb.ListadoAsignaturas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div  style="height: 380px;" width="100%; background-color:White;text-align:Center;v-align:Middle;">
    <fieldset  style="height: 380px;" width="100%"  BackColor="DarkSlateGray">
<legend>Listado de asignaturas</legend>
<center>
    <asp:GridView ID="grdAsignaturas" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#999999" BorderWidth="1px" 
            CellPadding="3" ForeColor="Black" GridLines="Vertical" 
            Width="333px" 
        onselectedindexchanged="grdAsignaturas_SelectedIndexChanged1" 
        DataKeyNames="CODIGOASIGNATURA" HorizontalAlign="Center">
        <AlternatingRowStyle BackColor="#CCCCCC" />
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:TemplateField Visible="False">
                <ItemTemplate>
                    <asp:RadioButton ID="CoAsignatura" runat="server" 
                        oncheckedchanged="CoAsignatura_CheckedChanged" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="NOMBREASIGNATURA" HeaderText="Nombre" />
            <asp:BoundField DataField="CREDITOSASIG" HeaderText="Creditos" />
            <asp:BoundField DataField="CODIGOASIGNATURA" HeaderText="CodigoAsign" />
        </Columns>
       
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
    </asp:GridView>
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
        SelectMethod="GetViewAlumnosAsignatura" 
        TypeName="Negocio.View.AlumnoAsignaturaView">
    </asp:ObjectDataSource>
    </center>
    </fieldset>
    </div>
</asp:Content>
